package com.bw.liveplay.common.mvvm.view

import android.os.Bundle

/**
 * @author KK
 * @description:
 * @date :2021/11/9 18:03
 *
 */
abstract interface IView {
    //显示隐藏dialog
    fun showDialog()
    fun hideDialog()

    //发送信息
    fun showMsg(msg:String)

    //跳转页面
    fun startPage(clazz: Class<*>,bundle:Bundle)

    //返回上一个页面
    fun finishPage()

    //绑定xml布局id
    fun bindLayout():Int

    //初始化viewmodel
    fun initViewModel()

    //初始化databinding
    fun bindDataBinding()

    //viewmodel设置到xml
    fun initVerable(): Int








}